package com.xiaobai.nacosserver;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    private static final String HELLO = "Hello World";

    @PostMapping("/hello")
    public String hello() {
        System.out.println("HELLO = " + HELLO);
        return HELLO;
    }
}
